﻿<sdk:ChildWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ig="http://schemas.infragistics.com/xaml" mc:Ignorable="d" x:Class="Ivvy_Silverlight.Activitywindow"
           Width="900" Height="470" 
           Title="Activitywindow">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid HorizontalAlignment="Left" Height="435" VerticalAlignment="Top" Width="870">
            <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="870">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.132*"/>
                    <ColumnDefinition Width="0.468*"/>
                    <ColumnDefinition Width="0.4*"/>
                </Grid.ColumnDefinitions>
                <Border Margin="7,48,56,0" Grid.Column="2" BorderThickness="1" BorderBrush="Black" CornerRadius="4" Height="65" VerticalAlignment="Top"/>
                <Image Height="56" Margin="10,57,17,0"  VerticalAlignment="Top" Source="booktodo.png" />
                <ig:XamComboEditor Grid.Column="2" Margin="33,68,0,0" VerticalAlignment="Top" Height="25" HorizontalAlignment="Left" Width="122"/>
                <TextBox  Grid.Column="2"   Margin="194,70,67,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Height="24" />
                <sdk:Label Grid.Column="2" Margin="19,41,152,0" VerticalAlignment="Top" Content="Reset to default Set of Actions:" Background="White"/>

            </Grid>
            <Grid HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="870">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.195*"/>
                    <ColumnDefinition Width="0.053*"/>
                    <ColumnDefinition Width="0.183*"/>
                    <ColumnDefinition Width="0.043*"/>
                    <ColumnDefinition Width="0.21*"/>
                    <ColumnDefinition Width="0.063*"/>
                    <ColumnDefinition Width="0.252*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="199*"/>
                    <RowDefinition Height="281*"/>
                </Grid.RowDefinitions>
                <sdk:Label Margin="0" VerticalAlignment="Top" Content="Search For Action Type" HorizontalAlignment="Left" Grid.ColumnSpan="2"/>
                <Border BorderBrush="Black" CornerRadius="10" BorderThickness="1" Height="24" Margin="10,0,0,0" VerticalAlignment="Top" Grid.Row="1" HorizontalAlignment="Left" Width="90">

                    <TextBox Margin="0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Center" BorderThickness="0" HorizontalAlignment="Center" Width="75" />
                </Border>


                <ig:XamGrid x:Name="EntryActionType"   HorizontalAlignment="Center"  Margin="0,35,0,0" Grid.Row="1" VerticalAlignment="Top" Width="auto" Height="100" AutoGenerateColumns="False">
                    <ig:XamGrid.Columns>
                        <ig:TextColumn Visibility="Collapsed" Key="Entry_ID" />
                        <ig:TextColumn Key="Entry1" HeaderText="Entry"  />

                    </ig:XamGrid.Columns>


                </ig:XamGrid>

                <Button Content="&lt;" x:Name="BtnType" Grid.Column="1" Margin="0,40,0,184" Grid.Row="1" Width="16" Height="22" HorizontalAlignment="Center" d:LayoutOverrides="Width" VerticalAlignment="Top" Click="BtnType_Click" />
                <Button Content="&gt;" x:Name="BtnTypeConfigured" Grid.Column="1" Margin="0,70,0,0" Grid.Row="1" VerticalAlignment="Top" Height="22" Width="16" HorizontalAlignment="Center" Click="BtnTypeConfigured_Click" />
                <sdk:Label Grid.Column="2" HorizontalAlignment="Left" Margin="0" Grid.Row="1" VerticalAlignment="Top" Content="Action Type Configured" Grid.ColumnSpan="3"/>
                <ig:XamGrid x:Name="EntryActionConfigured"  Grid.Column="2" Margin="0,35,0,0" Grid.Row="1" VerticalAlignment="Top" Height="130" Width="auto" HorizontalAlignment="Center" AutoGenerateColumns="False">
                    <ig:XamGrid.Columns>
                        <ig:TextColumn Visibility="Collapsed" Key="Entry_ID" />
                        <ig:TextColumn Key="Entry1" HeaderText="Entry"  />

                    </ig:XamGrid.Columns>


                </ig:XamGrid>
                <sdk:Label Grid.Column="4" Margin="0,0,39,0" VerticalAlignment="Top" d:LayoutOverrides="Width" Content="Fields Available for selected Action type" Grid.ColumnSpan="5" HorizontalAlignment="Left"/>
                <Border BorderBrush="Black" CornerRadius="10" BorderThickness="1" Height="24" Margin="10,0,0,0" VerticalAlignment="Top" Grid.Column="4" Grid.Row="1" HorizontalAlignment="Left" Width="90" >
                    <TextBox Grid.Column="4" Margin="0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Center" BorderThickness="0" HorizontalAlignment="Center" Width="70" />
                </Border>
                <ig:XamGrid x:Name="FieldAction"   Grid.Column="4" Margin="0,35,0,0" Grid.Row="1"  Height="100" VerticalAlignment="Top"  Width="auto" HorizontalAlignment="Center" AutoGenerateColumns="false">
                    <ig:XamGrid.Columns>
                        <ig:TextColumn Visibility="Collapsed" Key="Field_ID" />
                        <ig:TextColumn Key="Field1" HeaderText="Field"  />
                    </ig:XamGrid.Columns>
                    <ig:XamGrid.SelectionSettings>
                        <ig:SelectionSettings CellSelection="Multiple" />

                    </ig:XamGrid.SelectionSettings>
                </ig:XamGrid>
                <Button Content="List Type Field Details&gt;" Grid.Column="4" Grid.ColumnSpan="2" Margin="0,0,0,20" Grid.Row="1" VerticalAlignment="Bottom" Width="135" Height="31" />
                <Button Content="&lt;" x:Name="Removeconfiguration" Grid.Column="5" HorizontalAlignment="Center" Margin="0,40,0,0" Grid.Row="1" VerticalAlignment="Top" Width="16" Click="Removeconfiguration_Click" />
                <Button Content="&gt;" x:Name="Moveconfiguration" Grid.Column="5" HorizontalAlignment="Center" Margin="0,0,0,154" Grid.Row="1" VerticalAlignment="Bottom" Width="16" Click="Moveconfiguration_Click" />
                <sdk:Label Grid.Column="6" HorizontalAlignment="Left" Margin="24,3,0,0" Grid.Row="1" VerticalAlignment="Top" Content="Field Configuration"/>

                <Button Content="Save" x:Name="savedata" Grid.Column="6" Margin="0,0,0,25" Grid.Row="1" VerticalAlignment="Bottom" Width="80" Click="savedata_Click" />
                <sdk:DataGrid Grid.Column="6"  Margin="0,0,6,61" Grid.Row="1" AutoGenerateColumns="false" x:Name="Configuration">
                    <sdk:DataGrid.Columns>
                        
                        <sdk:DataGridTemplateColumn Header="Name" Width="50">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Cursor="Hand" x:Name="captionvalue"   Text="{Binding Caption}"></TextBlock>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>

                        <sdk:DataGridTemplateColumn Width="20">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <CheckBox IsChecked="False" x:Name="0" HorizontalAlignment="Center"></CheckBox>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>
                        <sdk:DataGridTemplateColumn Width="20">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <CheckBox IsChecked="False" x:Name="1" HorizontalAlignment="Center"></CheckBox>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>
                        <sdk:DataGridTemplateColumn Width="20">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <CheckBox IsChecked="False" x:Name="2" HorizontalAlignment="Center"></CheckBox>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>
                        <sdk:DataGridTemplateColumn Width="20">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <CheckBox IsChecked="False"  x:Name="3" HorizontalAlignment="Center"></CheckBox>
                                                                  </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>

                        <sdk:DataGridTemplateColumn Header="Name" Width="5">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Cursor="Hand" x:Name="Fieldvalue" Visibility="Collapsed"  Text="{Binding Field_ID}"></TextBlock>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>

                        <sdk:DataGridTemplateColumn Header="Name" Width="5">
                            <sdk:DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Cursor="Hand" x:Name="Entry_Field_ID" Visibility="Collapsed" Text="{Binding Entry_Field_ID}"></TextBlock>
                                </DataTemplate>
                            </sdk:DataGridTemplateColumn.CellTemplate>
                        </sdk:DataGridTemplateColumn>
                    </sdk:DataGrid.Columns>
                    
                    

                </sdk:DataGrid> 







            </Grid>
        </Grid>


    </Grid>
</sdk:ChildWindow>